import  {cancelOrder,Auth} from "../../utils/order"

Component({
  mixins: [],
  data: {},
  props: {

    fromDate:{
      type:Object,
      default:{}
    }
  },
  didMount() {},
  didUpdate() {},
  didUnmount() {},
  methods: {
    onAuth(){
  let  flag=true
      //  Auth(this.props.fromDate)
      this.triggerEvent("onLike",{flag});
    },
    cancelOrdera(){
      let  flag=true
      // cancelOrder(this.props.fromDate)
      this.triggerEvent("onLike",{flag});
    },

  },
});
